package com.ly.heart.domain.king.procureRefund;

import com.ly.heart.domain.king.BaseChildBo;
import com.ly.heart.domain.king.inventory.FEntryPruCostBo;
import com.ly.heart.domain.king.inventory.FSerialSubEntityBo;
import com.ly.heart.domain.king.order.FAuxPropIdBo;
import com.ly.heart.domain.king.order.FBillTypeIDBo;
import com.ly.heart.domain.king.order.FTaxDetailSubEntityBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel( "金蝶-采购退料单明细信息" )
@Accessors(chain = true)
public class FPURMRBENTRYBo{

    @ApiModelProperty("产品类型")
    private String FRowType = "Standard";

    @ApiModelProperty("物料编码")
    private BaseChildBo FMATERIALID;

    @ApiModelProperty("物料说明")
    private BaseChildBo FMaterialDesc;

    @ApiModelProperty("父项产品")
    private FBillTypeIDBo FParentMatId;

    @ApiModelProperty("项目编号")
    private String FProjectNo;

    @ApiModelProperty("库存单位")
    private BaseChildBo FUnitID;

    @ApiModelProperty("实退数量")
    private String FRMREALQTY;

    @ApiModelProperty("补料数量")
    private String FREPLENISHQTY;

    @ApiModelProperty("扣款数量")
    private String FKEAPAMTQTY;

    @ApiModelProperty("计价单位")
    private BaseChildBo FPRICEUNITID;

    @ApiModelProperty("仓库")
    private BaseChildBo FSTOCKID;

    @ApiModelProperty("仓位")
    private FSTOCKLOCIDMBo FSTOCKLOCID;

    @ApiModelProperty("库存状态")
    private BaseChildBo FStockStatusId;

    @ApiModelProperty("备注")
    private String FNOTE;

    @ApiModelProperty("税组合")
    private BaseChildBo FTaxCombination;

    @ApiModelProperty("单价")
    private String FPrice;

    @ApiModelProperty("辅单位")
    private BaseChildBo FExtAuxUnitId;

    @ApiModelProperty("实退数量(辅单位)")
    private String FExtAuxUnitQty;

    @ApiModelProperty("需求跟踪号")
    private String FREQTRACENO;

    @ApiModelProperty("收料更新库存")
    private Boolean FIsReceiveUpdateStock;

    @ApiModelProperty("已开票关联数量")
    private Integer FInvoicedJoinQty;

    @ApiModelProperty("是否赠品")
    private Boolean FGiveAway;

    @ApiModelProperty("计价基本数量")
    private String FPriceBaseQty;

    @ApiModelProperty("定价单位")
    private BaseChildBo FSetPriceUnitID;

    @ApiModelProperty("采购单位")
    private BaseChildBo FCarryUnitId;

    @ApiModelProperty("供应商物料编码")
    private String FSupMatId;

    @ApiModelProperty("供应商物料名称")
    private String FSupMatName;

    @ApiModelProperty("采购数量")
    private String FCarryQty;

    @ApiModelProperty("采购基本数量")
    private String FCarryBaseQty;

    @ApiModelProperty("采购订单分录内码")
    private String FPOORDERENTRYID;

    @ApiModelProperty("立账关闭")
    private Boolean FBILLINGCLOSE;

    @ApiModelProperty("分录价目表")
    private FBillTypeIDBo FPriceListEntry;

    @ApiModelProperty("辅助属性")
    private FAuxPropIdBo FAuxPropID;

    @ApiModelProperty("BOM版本")
    private BaseChildBo FBOMID;

    @ApiModelProperty("应退数量")
    private String FRMMUSTQTY;

    @ApiModelProperty("供应商批号")
    private String FSupplierLot;

    @ApiModelProperty("批号")
    private BaseChildBo FLot;

    @ApiModelProperty("生产日期")
    private String FProduceDate;

    @ApiModelProperty("到期日")
    private String FEXPIRYDATE;

    @ApiModelProperty("库存辅单位数量")
    private String FAUXUNITQTY;

    @ApiModelProperty("货主类型")
    private String FOWNERTYPEID;

    @ApiModelProperty("货主")
    private BaseChildBo FOWNERID;

    @ApiModelProperty("税率")
    private String FENTRYTAXRATE;

    @ApiModelProperty("折扣率(%)")
    private String FDISCOUNTRATE;

    @ApiModelProperty("含税单价")
    private String FTAXPRICE;

    @ApiModelProperty("单价折扣")
    private String FPriceDiscount;

    @ApiModelProperty("销售退货单编码_序号")
    private String FReturnStockBillNo;

    @ApiModelProperty("销售退货单分录ID")
    private Integer FReturnStockEntryId;

    @ApiModelProperty("是否可库存")
    private Boolean FIsStock;

    @ApiModelProperty("费用项目")
    private BaseChildBo FChargeProjectID;

    @ApiModelProperty("源单类型")
    private String FSRCBillTypeId;

    @ApiModelProperty("源单编号")
    private String FSRCBillNo;

    @ApiModelProperty("计划跟踪号")
    private String FMtoNo;

    @ApiModelProperty("委外订单编号")
    private String FSUBREQBILLNO;

    @ApiModelProperty("委外订单行号")
    private Integer FSUBREQBILLSEQ;

    @ApiModelProperty("委外订单分录内码")
    private Integer FSUBREQENTRYID;

    @ApiModelProperty("采购费用")
    private List<FEntryPruCostBo> FEntryPruCost;

    @ApiModelProperty("税务明细")
    private List<FTaxDetailSubEntityBo> FTaxDetailSubEntity;

    @ApiModelProperty("序列号子单据体")
    private List<FSerialSubEntityBo> FSerialSubEntity;

}
